home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Mem / Static / Makefile < prev   
Makefile  |  1995-09-04  |  2KB  |  90 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.CheckHeap    \
  4.             o.Compact    \
  5.             o.Mem    \
  6.             o.MidExtend    \
  7.             o.MoveAnchor    \
  8.             o.Size    \
  9.  
  10.  
  11. LibName        =    Mem
  12.  
  13. # Template makefile which makes normal 
  14. # .o files for use in the main static
  15. # linking DeskLib.
  16.  
  17. # The macro $(ObjectFiles) should be set at the 
  18. # start of this file to be a space-separated
  19. # list of object files.
  20. # This is done by 'Makatic'.
  21.  
  22. # The macro $(LibName) should also be set at the 
  23. # start of this file, to be the name of the 
  24. # DeskLib sublibrary.
  25. # This is done by 'Makatic'.
  26.  
  27. # Compiler and linker flags, These can be anything. 
  28. # All essential flags are included in the macros 
  29. # $(CC) and $(ASM)
  30. #
  31. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  32. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  33.  
  34. CC        =    cc -c $(CCFlags)
  35. ASM        =    objasm $(ASMFlags)
  36.  
  37.  
  38. # -------------------------------------------------------
  39. # Everything below here should probably not be changed...
  40. # -------------------------------------------------------
  41.  
  42. # Here's what we want to make...
  43. #
  44. All:        $(ObjectFiles)
  45.  
  46.  
  47. VPATH = @.^
  48.  
  49. .SUFFIXES:    .c .s .o
  50.  
  51. .c.o:
  52.     $(CC) $< -o $@
  53.     
  54. .s.o:
  55.     $(ASM) -from $< -to $@
  56.  
  57.  
  58.  
  59. # Dynamic dependencies:
  60. o.CheckHeap:    ^.c.CheckHeap
  61. o.CheckHeap:    ^.h.MemDefs
  62. o.CheckHeap:    DeskLib:h.Mem
  63. o.CheckHeap:    DeskLib:h.Core
  64. o.CheckHeap:    DeskLib:h.Error
  65. o.Compact:    ^.c.Compact
  66. o.Compact:    ^.h.MemDefs
  67. o.Compact:    DeskLib:h.Mem
  68. o.Compact:    DeskLib:h.Core
  69. o.Mem:    ^.c.Mem
  70. o.Mem:    C:h.kernel
  71. o.Mem:    ^.h.MemDefs
  72. o.Mem:    DeskLib:h.Mem
  73. o.Mem:    DeskLib:h.Core
  74. o.Mem:    DeskLib:h.WimpSWIs
  75. o.Mem:    DeskLib:h.Wimp
  76. o.Mem:    DeskLib:h.Error
  77. o.MidExtend:    ^.c.MidExtend
  78. o.MidExtend:    Desklib:h.Error
  79. o.MidExtend:    Desklib:h.Core
  80. o.MidExtend:    ^.h.MemDefs
  81. o.MidExtend:    DeskLib:h.Mem
  82. o.MoveAnchor:    ^.c.MoveAnchor
  83. o.MoveAnchor:    ^.h.MemDefs
  84. o.MoveAnchor:    DeskLib:h.Mem
  85. o.MoveAnchor:    DeskLib:h.Core
  86. o.Size:    ^.c.Size
  87. o.Size:    ^.h.MemDefs
  88. o.Size:    DeskLib:h.Mem
  89. o.Size:    DeskLib:h.Core
  90.